#include "lib_fixed.h"

fixed fixed::operator = (fixed x)
{
    value =
        precision > x.precision ?
        x.value * SCALE.x[precision - x.precision] :
        precision < x.precision ?
        x.value / SCALE.x[x.precision - precision] :
        x.value;
    return *this;
}

